home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0897 / 000265_amos-request@svcs1.digex.net_Fri Aug 15 01:17:51 1997.msg < prev    next >
Text File  |  1997-09-09  |  3KB  |  65 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id BAA20771
  3.     for <mcox@access.digex.net>; Fri, 15 Aug 1997 01:17:50 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id VAA24687
  6.     for amos-out; Thu, 14 Aug 1997 21:41:31 -0400 (EDT)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id VAA24684
  9.     for <amos-list@svcs1.digex.net>; Thu, 14 Aug 1997 21:41:30 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id VAA12096
  12.     for <amos-list@access.digex.net>; Thu, 14 Aug 1997 21:41:29 -0400 (EDT)
  13. Received: (qmail 7432 invoked from network); 15 Aug 1997 01:42:02 -0000
  14. Received: from lp4-28.redrose.net (HELO redrose.net) (mushy-pd@205.246.83.188)
  15.   by mail.redrose.net with SMTP; 15 Aug 1997 01:42:02 -0000
  16. From: Mush <mushypd@redrose.net>
  17. Reply-To: mushypd@redrose.net
  18. To: Johannes Rydh <johannes@ibrium.se>
  19. CC: amos-list@access.digex.net
  20. Date: Tue, 05 Aug 1997 20:59:55 -0500
  21. Message-ID: <yam7156.2761.4004784@mail.redrose.net>
  22. In-Reply-To: <92709441@rydh.bengtsfors.se>
  23. X-Mailer: YAM 1.3.3a [020] - Amiga Mailer by Marcel Beck
  24. Organization: Mushroom PD - AMOS Public Domain Library
  25. Subject: Re: Input
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. The man most directly responsible for this twaddle was Johannes Rydh, who did
  32. thus comment on Input on the night of 14-Aug-97:
  33. > Hi everybody!
  34.  
  35.  
  36. > I have a problem. How can I input a string from an open file when the file
  37. > contains "," and other stuff? "Input #" didnt work, and I understand why.
  38. > I tried also "Line Input" but i couldn't make it work.
  39. > Appearently, AMOS looks for a special char that will end the line, and I
  40. > beleve it's char 0 in the ascii table.
  41. > How can I fix this? The "Line Input" command is supposed to have a
  42. "separator"
  43. > value, but it wont work!
  44.  
  45. > I have AMOS Professional v1.03. I run it on a A1200 with 10 MB RAM.
  46.  
  47. Use OPEN IN as usual, but then type SET INPUT 10,-1 after it (sets the file
  48. to stop at CHR$(10)) and use LINE INPUT #1,A$ or something, and you will
  49. find it will seriously help you.
  50.  
  51. When writing files, its important you do PRINT #1,A$+CHR$(10); so you write
  52. them with CHR$(10) [proper end of line character] rather than the CHR$(13)
  53. which AMOS seems to put there instead.
  54.  
  55. Hope this helps
  56.  
  57. Andrew "Mushroom" Kellett
  58. --
  59.    Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS*  Team *AMIGA*
  60.  
  61.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  62.  
  63.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  64.                             mushy-pd.dyn.ml.org
  65.